package cn.edu.scau.cmi.liuyonglin.chapter5.exe5;

import cn.edu.scau.cmi.liuyonglin.chapter5.Circle;

public class Circular {
	Circle bottom;
	double height;
	Circular(Circle c,double h){
		bottom = c;
		height = h;
	}
	double getVolme() {
		return bottom.getArea()*height/3.0;
	}
	double getBottomRadious() {
		return bottom.getRadious();
	}
	public void setBottomRadious(double r) {
		bottom.setRadious(r);
	}
}
